FROM sapmachine:21

WORKDIR /candy-codegen

COPY ./target/candy-codegen.jar app.jar

EXPOSE 8000

ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"

CMD java $JAVA_OPTS -jar app.jar
